package com.un.ebs.order.dto;

import com.un.ebs.order.enums.DeliverTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class OrderSimpleAddDto {

    @NotNull(message = "收货人姓名不能为空。")
    private String name;

    @NotNull(message = "收货人联系电话不能为空。")
    private String phone;

    @NotNull(message = "请填写收货地址。")
    private String address;

    private DeliverTypeEnum deliverType;

    private List<OrderItemBuyDto> items;

    private String remark;

}
